import request from '@/utils/request'

export function getBlogSubjectList(params) {
  return request({
    url: process.env.ADMIN_API + '/blogSubject/getList',
    method: 'post',
    data: params
  })
}

export function addBlogSubject(params) {
  return request({
    url: process.env.ADMIN_API + '/blogSubject/add',
    method: 'post',
    data: params
  })
}

export function editBlogSubject(params) {
  return request({
    url: process.env.ADMIN_API + '/blogSubject/edit',
    method: 'post',
    data: params
  })
}

export function deleteBatchBlogSubject(params) {
  return request({
    url: process.env.ADMIN_API + '/blogSubject/deleteBatch',
    method: 'post',
    data: params
  })
}


